import request from "@/utils/request";

// 查询列表
export function listMoney(query) {
  return request({
    url: "/api/money/list",
    method: "get",
    params: query,
  });
}

// 触发数据更新
export function moneyTrigger(query) {
  return request({
    url: "/api/money/trigger",
    method: "get",
    params: query,
  });
}

// 触发数据更新-单个
export function moneyTriggerSign(id) {
  return request({
    url: "/api/money/triggerSign/" + id,
    method: "get",
  });
}

// 查询单个id
export function getMoneyDetals(id) {
  return request({
    url: "/api/money/details/" + id,
    method: "get",
  });
}
